﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XF.FM.Core.Table
{
    public class PageData
    {
        /// <summary>
        /// 当前页,0开始
        /// </summary>
        public int Index { get; set; }
        /// <summary>
        /// 总条数
        /// </summary>
        public int Total { get; set; }
        /// <summary>
        /// 每页条数
        /// </summary>
        public int Length { get; set; }
    }
    public class PageData<T> : PageData
    {
        public IEnumerable<T> Data { get; set; }

    }
}
